<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<!-- D:\JavaEE1609\Department\WebContent\department\add.jsp -->
	
	<!-- D:\JavaEE1609\Department\WebContent  http://localhost:8080/Department -->
	<!-- http://localhost:8080/Department/department/add.jsp -->

	<!-- 路径的问题的统一解决方案： 上下文 ${pageContext.request.contextPath}  -->
	<form action="${pageContext.request.contextPath}/department/add.do" method="post">
	
		部门编号： <input type="text" name="departmentCode" />
		部门名称： <input type="text" name="departmentName" /> 
		
		<input type="submit" value="部门新增" /> 
	
	</form>
</body>
</html>